<%--
  Created by IntelliJ IDEA.
  User: Zmt
  Date: 2015/12/9
  Time: 11:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>阙音码管理中心</title>
    <%@ include file="../new_import.jsp" %>
    <script type="text/javascript" src="${base}/scripts/public.js"></script>
    <script type="text/javascript">
        var doListUrl = "/toPage.do";
    </script>
</head>
<body style="padding: 0;">
<div id="pre_data">
    <table style="border-collapse:collapse;">
        <c:forEach var="data" items="${obj.queryReturn.rows}" varStatus="index">
            <tr style="min-height: 130px">
                <td style="border: 1px solid RGB(210, 210, 210);">
                    <div style="width: 120px;margin-top: 22px;margin-bottom: 20px">
                        <img src="/images/back/data/${data.suffix}.png" style="width: 48px;height: 48px;">
                        <div class="data_pre_download_btn" onclick="window.location.href='/data/download.do?id=${data.id}';">下载文件</div>
                    </div>
                </td>
                <td style="width: 100%;height: 100%;text-align: left;text-overflow:ellipsis;overflow:hidden;min-height: 130px;">
                    <div style="margin-left: 30px;font-size: 18pt;margin-top: 20px">${data.name}</div>
                    <div style="margin-left: 30px;margin-top: 20px;margin-bottom: 20px;font-size: 12pt;">${data.vDesc}</div>
                </td>
            </tr>
        </c:forEach>
    </table>

    <div class="fr">
        <a href="#" class="prev prevImg" onclick="prevPage($('#current_page'),'${base}/data',5,$('#pre_data'),${obj.this_page},${obj.queryReturn.pageSum})"></a>
        <input id="current_page" class="centerInput" value="${obj.this_page}"/>
        /<input id="count_page" class="centerInput" readonly="readonly" value="${obj.queryReturn.pageSum}">
        <a href="#" class="next nextImg" style="float: right" onclick="nextPage($('#current_page'), '${base}/data',5,$('#pre_data'),${obj.this_page},${obj.queryReturn.pageSum})"></a>
    </div>
</div>

</body>
</html>

